@charset "UTF-8";
// 超大标题
.alltitle{
  font: 300 20px/32px Roboto,sans-serif;
  letter-spacing: -.01em;
  padding-bottom: 3px;
  text-align: justify;
  margin-top: 20px;
}

// 设置页面一级导航字体
.firsrFont{
  border-bottom: 1px solid #ebebeb;
  font: 300 20px/32px Roboto,sans-serif;
  letter-spacing: -.01em;
  margin: 40px 0 20px;
  padding-bottom: 3px;
  text-align: justify;
}
.firstFontchild{
  font: 300 20px/20px Roboto,sans-serif;
  letter-spacing: -.01em;
  margin: 20px 0 20px;
  padding-bottom: 3px;
  text-align: justify;
}

// 侧栏二级导航
.sideFont{
  font-size: 12px;
  color: #757575;
  line-height: 20px;
  font-weight: normal;
  text-align: justify;
}

// 设置正文三级导航
.thirdFont{
  font-size: 12px;
  color: #212121;
  line-height: 20px;
  font-weight: normal;
  padding-left: 20px;
  display: block;
  text-align: justify;
}

// 设置正文字体
.secondFont{
  color: #212121;
  font-size: 13px;
  line-height: 22px;
  text-align: justify;
}

// 所有字体焦点颜色
@fontLight: #4285f4;

// box-sizing 兼容
.boxSizing{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.maxTitle{
  .alltitle();
}
.scrollspy-example {
  height: 600px;
  overflow: auto;
  position: relative;
}
// 设置百分百宽度
@fullWidth: 100%;

// 导航颜色
@navColor: #2b2b2b;
.main-content{
  min-height: 90vh;
  padding-left: 200px;
  padding-top: 50px;
  .boxSizing();
  >li{
    padding-left: 30px;
    .boxSizing();
  }
}
.user-guide{
  li{
    a{
      .alltitle();
      display: block;
      height: @fullWidth;
      width: @fullWidth;
    }
    padding-top: 10px;
    h3{
      .firsrFont();
    }
    h4{
      .firstFontchild();
    }
    p{
      .secondFont();
      &.marginTop{
        margin-top: 18px;
        line-height: 14px;
      }
      a{
        .secondFont();
        &:hover{
          color: @fontLight;
        }
      }
    }
    span{
      .thirdFont();
      .boxSizing();
    }
    >i{
      .thirdFont();
      text-align: center;
      margin-top: 5px;
      margin-bottom: 25px;
    }
    .returndec{
      width: 100%;
      max-width: 550px;
      margin: 5px auto 15px;
      background: #f7f7f7;
      padding: 20px 0 20px 20px;
      .codeblock{
        font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
        font-size: 13px;
        i{
          display: block;
          text-align: left;
          &.text-indent-one{
            text-indent: 2em;
          }
          &.text-indent-two{
            text-indent: 4em;
          }
          &.text-indent-three{
            text-indent: 6em;
          }
          &.text-indent-four{
            text-indent: 8em;
          }
          &.text-indent-five{
            text-indent: 10em;
          }
          &.text-indent-six{
            text-indent: 12em;
          }
          &.text-indent-seven{
            text-indent: 14em;
          }
          xmp{
            font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
            font-size: 13px;
            margin: 0;
          }
        }
      }
    }
    img{
      display: block;
      width: 300px;
      height: auto;
      margin: 10px auto 0;
    }
    em{
      color: red;
    }
    table{
      width: 100%;
      max-width: 550px;
      border: 1px solid #e5e5e5;
      margin: 5px auto 15px;
      font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
      tr{
        border-bottom: 1px solid #e5e5e5;
        td{
          width: 50%;
          padding: 5px 15px;
          .boxSizing();
          font-size: 12px;
        }
        &>td{
          border-left: 1px solid #e5e5e5;
        }
      }
      tr:first-child{
        background: #f2f4f8;
        color: #000;
      }
    }
  }
}
.user-guide{
  li{
    table{
      &.innerTable{
        tr{
          td{
            width: 33%;

          }
        }
      }
      &.twogrid{
        tr>td:first-child{
          width: 25%;
        }
        tr>td:last-child{
          width: 75%;
        }
      }
    }
  }
}
.maxWidthpic{
  width: 70% !important;
  height: auto;

}
.siderindex{
  margin: 20px 0 20px 15px;
  border-left: 4px solid #4285f4;
  ol{
    li{
      .secondFont();
      a{
        .sideFont();
        &:hover{
          color: @fontLight;
        }
      }
    }
  }
}
.footer{
  text-align: center;
  font-size: 12px;
  margin-bottom: 20px;
  width: 100%;
}
.hightlight a{
  color: @fontLight!important;
}
@media(min-width: 1219px){
  .col-lg-9{
    float: left;
  }
  .siderindex{
    position: fixed;
    top: 100px;
    right: 0;
  }
}
@media(max-width: 1218px){
  .siderindex{
    ol{
      li{

      }
    }
  }
}
#sidebar-wrapper {
  top: 52px;
  left: -200px;
  width: 200px;
  position: fixed;
  height: 100%;
  z-index: 1;
  box-shadow:0 3px 8px 0 rgba(0,0,0,.2), 0 0 0 1px rgba(0,0,0,.08);
  background: #fff;
}
.sidebar-nav {
  padding-top: 30px;
  .boxSizing();
  position: absolute;
  top: 0;
  margin: 0;
  width: 200px;
  list-style: none;
}
.sidebar-nav li {
  text-indent: 20px;
  line-height: 30px;
}
.sidebar-nav li a {
  color: #212121;
  display: block;
  text-decoration: none;
  font-size: 13px;
}
.sidebar-nav li.navcur a{
  color: @fontLight;
}
.sidebar-nav li a:hover {
  background: rgba(255,255,255,0.5);
  text-decoration: none;
}
.sidebar-nav li a:active, .sidebar-nav li a:focus {
  text-decoration: none;
}
#sidebar-wrapper.sidebar-toggle {
  transition: all 0.3s ease-out;
  margin-left: -200px;
}

@media(max-width: 840px) {
  .main-content{
    li{
      padding-left: 0;
    }
  }
}
@media (min-width: 768px) {
  #sidebar-wrapper.sidebar-toggle {
    transition: 0s;
    left: 200px;
  }
}
@media (max-width: 767px) {
  .main-content{
    padding-left: 0;
  }
  .user-guide{
    li{
      .returndec{
        width: 100%;
        max-width: 550px;
        margin: 5px auto 15px;
        background: #f7f7f7;
        padding: 10px 0 10px 5px;
        .codeblock{
          font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
          font-size: 12px;
          i{
            display: block;
            text-align: left;
            &.text-indent-one{
              text-indent: 1em;
            }
            &.text-indent-two{
              text-indent: 2em;
            }
            &.text-indent-three{
              text-indent: 3em;
            }
            &.text-indent-four{
              text-indent: 4em;
            }
            &.text-indent-five{
              text-indent: 5em;
            }
            &.text-indent-six{
              text-indent: 6em;
            }
            &.text-indent-seven{
              text-indent: 7em;
            }
            xmp{
              font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
              font-size: 12px;
              margin: 0;
            }
          }
        }
      }
      img{
        display: block;
        width: 300px;
        height: auto;
        margin: 10px auto 0;
      }
      em{
        color: red;
      }
      table{
        width: 100%;
        max-width: 550px;
        border: 1px solid #e5e5e5;
        margin: 5px auto 15px;
        font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
        tr{
          border-bottom: 1px solid #e5e5e5;
          td{
            width: 50%;
            padding: 5px 15px;
            .boxSizing();
            font-size: 12px;
          }
          &>td{
            border-left: 1px solid #e5e5e5;
          }
        }
        tr:first-child{
          background: #f2f4f8;
          color: #000;
        }
      }
    }
  }
}
